Repository navigation
Windows Server als eigene Geräteklasse (device_class) - #18
Merged
Merged
Conversation
Optionales Inventarfeld windows / windows-server, damit gemeinsame Build-Familien wie 26100 nicht Client- und Server-CPEs vermischen. Ein vNext-Build 29621+ erfindet keine CPE.
Keep both Unreleased changelog entries, the Java4Shell demo and docs from main, and the windows-server device_class work. README test count updated to 103 after pytest.
…evice-class # Conflicts: # CHANGELOG.md
Abbasi26
marked this pull request as ready for review
November 18, 2026 08:01
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What and why
Damit Inventarzeilen für Windows Server nicht dieselben CPE-Kandidaten bekommen wie Windows-Clients, gibt es das optionale Feld
device_class:windowsoderwindows-server. Das ist relevant, weil Intune berechtigte Windows-Server-Geräte jetzt als Insider-Preview verwalten kann und Build-Familien wie 26100 sowohl Windows 11 24H2 als auch Windows Server 2025 sind.Quellen (Microsoft Learn)
operatingSystemSKU(ServerStandard,ServerDatacenter, Evaluierungs- und Azure-Edition-Werte).operatingSystemSKU.Nicht erfunden: ein NVD-CPE oder Marketingname wie „Windows Server 2028“ für Build 29621. Die offizielle Intune-Bezeichnung ist Windows Server vNext. Eine solche Zeile bleibt ohne Starter-CPE und verlangt ein Pinning nach Prüfung des Wörterbuchs.
Änderungen
device_class(windows,windows-clientals Alias fürwindows,windows-server). Unbekannte Werte werden abgelehnt.windows-servernurwindows_server_2025).windows-server: Hinweis auf die Intune-Preview, keine erfundene CPE.device_classauf den bestehenden Windows-Zeilen. Keine neue Demo-Zeile, damit sich das Demo-Ergebnis nicht ändert.device_class.How I tested it
PYTHONPATH=src python3 -m pytestpasses locally (97 tests)tests/test_device_class.py)Unreleased) updatedData hygiene